pstart — Create main plot window
pstart
is used to create a plotting window. Within each
plotting window there can be sub-plots. The first argument to
pstart
is the number of sub-plots to be created in the
horizontal direction, and the second argument is the number of
sub-plots to be created in the vertical direction. If these arguments
are omitted, they default to 1. This means that if both are
omitted, a single sub-plot wil be created within the plotting window.
The third argument is the type of output. The list of valid output
devices is dependent on the setup of the plotting library for your
particular system, however some typical values include "xwin"
— X Window System, "xterm"
— X terminal, "plmeta"
—PLPLOT portable meta-file format, "tekt"
— Tektronix terminal,
"xfig"
— Xfig file, "ps"
— Postscript, "psc"
—Colour Postscript and "hp7470"
—- HPGL plotter. To obtain a
full list, execute pstart
without any arguments.
The newly created plot window will become the current plot window.
This is not an built-in function. This function
is normally loaded on start-up from the plot.r
file in the
standard rlib
directory. Use of the -r
option, incorrectly
setting the RLAB_LIB_DIR
environmental variable, or modifying
plot.r
may make this function unavailable.
Subsections